package apiday02;

public class ObjectDemo {
    public static void main(String[] args) {
//        Point p = new Point(100,200);
//        System.out.println(p);
        Point p1 = new Point(100,200);
        Point p2 = new Point(100,200);
        System.out.println(p1.equals(p2));
        String s1 = new String("13");
        String s2 = new String("13");
        System.out.println(s1.equals(s2));
        StringBuilder b1 = new StringBuilder("h1");
        StringBuilder b2 = new StringBuilder("h1");
        System.out.println(b1.equals(b2));
    }



}
